/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package swing;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Locale;
import java.util.Properties;
import java.util.ResourceBundle;
import javax.swing.JOptionPane;
import swing.formularios.FormClientes;
import swing.formularios.FormDetalles;
import swing.formularios.FormProductos;
import swing.formularios.FormProveedores;
import swing.formularios.FormTrabajador;
import swing.formularios.FormVenta;
import swing.modelos.ModeloClientes;
import swing.modelos.ModeloPedidosClientes;
import swing.modelos.ModeloProductos;
import swing.modelos.ModeloProveedores;
import swing.modelos.ModeloTabla;
import swing.modelos.ModeloTrabajadores;

/**
 *
 * @author ariel
 */
public class InterfazPrincipal extends javax.swing.JFrame implements ActionListener {

    public ModeloClientes modeloClientes;
    public ModeloProductos modeloProductos;
    public ModeloProveedores modeloProveedores;
    public ModeloTrabajadores modeloTrabajadores;
    public ModeloPedidosClientes modeloPedidoClientes;
    java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("swing/Bundle");
    private String modelo;

    /**
     * Creates new form InterfazPrincipal
     */
    public InterfazPrincipal() {
        initComponents();
        panelListas.setVisible(false);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        scrollPanelIzq = new javax.swing.JScrollPane();
        jPanel1 = new javax.swing.JPanel();
        botonProductos = new javax.swing.JButton();
        botonProveedores = new javax.swing.JButton();
        botonClientes = new javax.swing.JButton();
        botonPedidos = new javax.swing.JButton();
        botonVentas = new javax.swing.JButton();
        botonEmpleados = new javax.swing.JButton();
        botonEmpresa = new javax.swing.JButton();
        panelEmpresa = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        jLabel2 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jPanel3 = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        jTextField3 = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jRadioButton3 = new javax.swing.JRadioButton();
        jButton8 = new javax.swing.JButton();
        jButton9 = new javax.swing.JButton();
        jLabel8 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jTextField4 = new javax.swing.JTextField();
        jTextField5 = new javax.swing.JTextField();
        jPasswordField1 = new javax.swing.JPasswordField();
        panelListas = new javax.swing.JPanel();
        scrollPanelDer = new javax.swing.JScrollPane();
        tablaModelo = new javax.swing.JTable();
        botonNuevo = new javax.swing.JButton();
        botonEditar = new javax.swing.JButton();
        botonBorrar = new javax.swing.JButton();
        botonDetalles = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();
        barraMenu = new javax.swing.JMenuBar();
        menuArchivo = new javax.swing.JMenu();
        menuCerrar = new javax.swing.JMenuItem();
        menuSalir = new javax.swing.JMenuItem();
        menuEditar = new javax.swing.JMenu();
        menuIdioma = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("swing/Bundle"); // NOI18N
        setTitle(bundle.getString("Titulo")); // NOI18N

        scrollPanelIzq.setBackground(new java.awt.Color(153, 153, 153));
        scrollPanelIzq.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);

        botonProductos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/box_download.png"))); // NOI18N
        botonProductos.setText(bundle.getString("InterfazPrincipal.botonProductos.text_1")); // NOI18N
        botonProductos.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonProductos.addActionListener(this);

        botonProveedores.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/lorrygreen.png"))); // NOI18N
        botonProveedores.setText(bundle.getString("InterfazPrincipal.botonProveedores.text_1")); // NOI18N
        botonProveedores.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonProveedores.addActionListener(this);

        botonClientes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/users_two.png"))); // NOI18N
        botonClientes.setText(bundle.getString("InterfazPrincipal.botonClientes.text_1")); // NOI18N
        botonClientes.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonClientes.addActionListener(this);

        botonPedidos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/table.png"))); // NOI18N
        botonPedidos.setText(bundle.getString("InterfazPrincipal.botonPedidos.text_1")); // NOI18N
        botonPedidos.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonPedidos.addActionListener(this);

        botonVentas.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/box_upload.png"))); // NOI18N
        botonVentas.setText(bundle.getString("InterfazPrincipal.botonVentas.text_1")); // NOI18N
        botonVentas.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonVentas.addActionListener(this);

        botonEmpleados.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/user_add.png"))); // NOI18N
        botonEmpleados.setText(bundle.getString("InterfazPrincipal.botonEmpleados.text_1")); // NOI18N
        botonEmpleados.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonEmpleados.addActionListener(this);

        botonEmpresa.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/spanner.png"))); // NOI18N
        botonEmpresa.setText(bundle.getString("InterfazPrincipal.botonEmpresa.text")); // NOI18N
        botonEmpresa.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonEmpresa.addActionListener(this);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(botonEmpresa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonProductos, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonClientes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonEmpleados, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonVentas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonPedidos, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonProveedores, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(44, 44, 44))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(24, 24, 24)
                .addComponent(botonEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(botonClientes, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(botonProductos, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(botonProveedores, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(botonEmpleados, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(botonVentas, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(botonPedidos, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(53, Short.MAX_VALUE))
        );

        scrollPanelIzq.setViewportView(jPanel1);

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, bundle.getString("InterfazPrincipal.jPanel2.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, new java.awt.Color(0, 0, 0))); // NOI18N

        jLabel1.setText(bundle.getString("InterfazPrincipal.jLabel1.text")); // NOI18N

        jLabel3.setText(bundle.getString("InterfazPrincipal.jLabel3.text")); // NOI18N

        jTextField2.setText(bundle.getString("InterfazPrincipal.jTextField2.text")); // NOI18N
        jTextField2.setEnabled(false);

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jScrollPane1.setViewportView(jTextArea1);

        jLabel2.setText(bundle.getString("InterfazPrincipal.jLabel2.text")); // NOI18N

        jTextField1.setText(bundle.getString("InterfazPrincipal.jTextField1.text")); // NOI18N
        jTextField1.setEnabled(false);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jScrollPane1)
                    .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2)
                    .addComponent(jLabel1)
                    .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 82, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(bundle.getString("InterfazPrincipal.jPanel3.border.title"))); // NOI18N

        jLabel4.setText(bundle.getString("InterfazPrincipal.jLabel4.text")); // NOI18N

        jTextField3.setText(bundle.getString("InterfazPrincipal.jTextField3.text")); // NOI18N
        jTextField3.setEnabled(false);

        jLabel5.setText(bundle.getString("InterfazPrincipal.jLabel5.text")); // NOI18N

        jLabel6.setText(bundle.getString("InterfazPrincipal.jLabel6.text")); // NOI18N

        buttonGroup1.add(jRadioButton1);
        jRadioButton1.setSelected(true);
        jRadioButton1.setText(bundle.getString("InterfazPrincipal.jRadioButton1.text")); // NOI18N
        jRadioButton1.addActionListener(this);

        buttonGroup1.add(jRadioButton2);
        jRadioButton2.setText(bundle.getString("InterfazPrincipal.jRadioButton2.text")); // NOI18N

        buttonGroup1.add(jRadioButton3);
        jRadioButton3.setText(bundle.getString("InterfazPrincipal.jRadioButton3.text")); // NOI18N

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel5))
                    .addComponent(jRadioButton3)
                    .addComponent(jRadioButton2)
                    .addComponent(jRadioButton1)
                    .addComponent(jLabel6))
                .addContainerGap(66, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel5))
                .addGap(30, 30, 30)
                .addComponent(jLabel6)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jRadioButton1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButton2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButton3)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jButton8.setText(bundle.getString("InterfazPrincipal.jButton8.text")); // NOI18N
        jButton8.setEnabled(false);

        jButton9.setText(bundle.getString("InterfazPrincipal.jButton9.text")); // NOI18N
        jButton9.setEnabled(false);

        jLabel8.setFont(new java.awt.Font("Trajan Pro", 0, 30)); // NOI18N
        jLabel8.setText(bundle.getString("InterfazPrincipal.jLabel8.text")); // NOI18N

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(bundle.getString("InterfazPrincipal.jPanel4.border.title"))); // NOI18N

        jButton1.setText(bundle.getString("InterfazPrincipal.jButton1.text")); // NOI18N
        jButton1.setEnabled(false);

        jLabel9.setText(bundle.getString("InterfazPrincipal.jLabel9.text")); // NOI18N

        jLabel10.setText(bundle.getString("InterfazPrincipal.jLabel10.text")); // NOI18N

        jLabel11.setText(bundle.getString("InterfazPrincipal.jLabel11.text")); // NOI18N

        jTextField4.setText(bundle.getString("InterfazPrincipal.jTextField4.text")); // NOI18N
        jTextField4.setEnabled(false);

        jTextField5.setText(bundle.getString("InterfazPrincipal.jTextField5.text")); // NOI18N
        jTextField5.setEnabled(false);

        jPasswordField1.setText(bundle.getString("InterfazPrincipal.jPasswordField1.text")); // NOI18N
        jPasswordField1.setToolTipText(bundle.getString("InterfazPrincipal.jPasswordField1.toolTipText")); // NOI18N
        jPasswordField1.setEnabled(false);

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel9, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel10, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel11, javax.swing.GroupLayout.Alignment.TRAILING))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jTextField4)
                    .addComponent(jTextField5)
                    .addComponent(jPasswordField1, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 122, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jButton1)
                .addContainerGap())
        );

        javax.swing.GroupLayout panelEmpresaLayout = new javax.swing.GroupLayout(panelEmpresa);
        panelEmpresa.setLayout(panelEmpresaLayout);
        panelEmpresaLayout.setHorizontalGroup(
            panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelEmpresaLayout.createSequentialGroup()
                .addGap(56, 56, 56)
                .addGroup(panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 548, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(panelEmpresaLayout.createSequentialGroup()
                        .addGroup(panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jPanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(panelEmpresaLayout.createSequentialGroup()
                                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(26, 26, 26)
                                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jButton8)
                            .addComponent(jButton9))))
                .addContainerGap(60, Short.MAX_VALUE))
        );
        panelEmpresaLayout.setVerticalGroup(
            panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelEmpresaLayout.createSequentialGroup()
                .addGroup(panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelEmpresaLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(panelEmpresaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(panelEmpresaLayout.createSequentialGroup()
                        .addGap(74, 74, 74)
                        .addComponent(jButton8)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton9)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(80, Short.MAX_VALUE))
        );

        scrollPanelDer.setViewportView(tablaModelo);

        botonNuevo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/add.png"))); // NOI18N
        botonNuevo.setText(bundle.getString("InterfazPrincipal.botonNuevo.text_1")); // NOI18N
        botonNuevo.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonNuevo.addActionListener(this);

        botonEditar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/pen.png"))); // NOI18N
        botonEditar.setText(bundle.getString("InterfazPrincipal.botonEditar.text_1")); // NOI18N
        botonEditar.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonEditar.addActionListener(this);

        botonBorrar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/cancel.png"))); // NOI18N
        botonBorrar.setText(bundle.getString("InterfazPrincipal.botonBorrar.text_1")); // NOI18N
        botonBorrar.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonBorrar.addActionListener(this);

        botonDetalles.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/table.png"))); // NOI18N
        botonDetalles.setText(bundle.getString("InterfazPrincipal.botonDetalles.text")); // NOI18N
        botonDetalles.setEnabled(false);
        botonDetalles.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        botonDetalles.addActionListener(this);

        jLabel7.setFont(new java.awt.Font("Trajan Pro", 0, 30)); // NOI18N

        javax.swing.GroupLayout panelListasLayout = new javax.swing.GroupLayout(panelListas);
        panelListas.setLayout(panelListasLayout);
        panelListasLayout.setHorizontalGroup(
            panelListasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelListasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelListasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelListasLayout.createSequentialGroup()
                        .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 548, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(panelListasLayout.createSequentialGroup()
                        .addComponent(scrollPanelDer, javax.swing.GroupLayout.PREFERRED_SIZE, 679, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelListasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(botonBorrar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(botonEditar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(botonNuevo, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(botonDetalles, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(0, 89, Short.MAX_VALUE))))
        );
        panelListasLayout.setVerticalGroup(
            panelListasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelListasLayout.createSequentialGroup()
                .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(38, 38, 38)
                .addGroup(panelListasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelListasLayout.createSequentialGroup()
                        .addComponent(botonNuevo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(botonEditar, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(botonBorrar, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(botonDetalles, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(scrollPanelDer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        menuArchivo.setText(bundle.getString("InterfazPrincipal.menuArchivo.text_1")); // NOI18N

        menuCerrar.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.event.InputEvent.CTRL_MASK));
        menuCerrar.setText(bundle.getString("InterfazPrincipal.menuCerrar.text_1")); // NOI18N
        menuArchivo.add(menuCerrar);

        menuSalir.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.CTRL_MASK));
        menuSalir.setText(bundle.getString("InterfazPrincipal.menuSalir.text_1")); // NOI18N
        menuSalir.addActionListener(this);
        menuArchivo.add(menuSalir);

        barraMenu.add(menuArchivo);

        menuEditar.setText(bundle.getString("InterfazPrincipal.menuEditar.text_1")); // NOI18N
        barraMenu.add(menuEditar);

        menuIdioma.setText(bundle.getString("InterfazPrincipal.menuIdioma.text_1")); // NOI18N

        jMenuItem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/Spanish-flag.jpg"))); // NOI18N
        jMenuItem1.setText(bundle.getString("InterfazPrincipal.jMenuItem1.text_1")); // NOI18N
        jMenuItem1.addActionListener(this);
        menuIdioma.add(jMenuItem1);

        jMenuItem2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/UK-flag.jpg"))); // NOI18N
        jMenuItem2.setText(bundle.getString("InterfazPrincipal.jMenuItem2.text_1")); // NOI18N
        jMenuItem2.addActionListener(this);
        menuIdioma.add(jMenuItem2);

        barraMenu.add(menuIdioma);

        setJMenuBar(barraMenu);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(scrollPanelIzq, javax.swing.GroupLayout.PREFERRED_SIZE, 217, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(panelListas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(panelEmpresa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(panelListas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(0, 0, Short.MAX_VALUE))
            .addComponent(scrollPanelIzq)
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-1070)/2, (screenSize.height-582)/2, 1070, 582);
    }

    // Code for dispatching events from components to event handlers.

    public void actionPerformed(java.awt.event.ActionEvent evt) {
        if (evt.getSource() == botonProductos) {
            InterfazPrincipal.this.botonProductosActionPerformed(evt);
        }
        else if (evt.getSource() == botonProveedores) {
            InterfazPrincipal.this.botonProveedoresActionPerformed(evt);
        }
        else if (evt.getSource() == botonClientes) {
            InterfazPrincipal.this.botonClientesActionPerformed(evt);
        }
        else if (evt.getSource() == botonPedidos) {
            InterfazPrincipal.this.botonPedidosActionPerformed(evt);
        }
        else if (evt.getSource() == botonVentas) {
            InterfazPrincipal.this.botonVentasActionPerformed(evt);
        }
        else if (evt.getSource() == botonEmpleados) {
            InterfazPrincipal.this.botonEmpleadosActionPerformed(evt);
        }
        else if (evt.getSource() == botonEmpresa) {
            InterfazPrincipal.this.botonEmpresaActionPerformed(evt);
        }
        else if (evt.getSource() == jRadioButton1) {
            InterfazPrincipal.this.jRadioButton1ActionPerformed(evt);
        }
        else if (evt.getSource() == botonNuevo) {
            InterfazPrincipal.this.botonNuevoActionPerformed(evt);
        }
        else if (evt.getSource() == botonEditar) {
            InterfazPrincipal.this.botonEditarActionPerformed(evt);
        }
        else if (evt.getSource() == botonBorrar) {
            InterfazPrincipal.this.botonBorrarActionPerformed(evt);
        }
        else if (evt.getSource() == botonDetalles) {
            InterfazPrincipal.this.botonDetallesActionPerformed(evt);
        }
        else if (evt.getSource() == menuSalir) {
            InterfazPrincipal.this.menuSalirActionPerformed(evt);
        }
        else if (evt.getSource() == jMenuItem1) {
            InterfazPrincipal.this.jMenuItem1ActionPerformed(evt);
        }
        else if (evt.getSource() == jMenuItem2) {
            InterfazPrincipal.this.jMenuItem2ActionPerformed(evt);
        }
    }// </editor-fold>//GEN-END:initComponents

    private void menuSalirActionPerformed(ActionEvent evt) {//GEN-FIRST:event_menuSalirActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_menuSalirActionPerformed

    private void jMenuItem1ActionPerformed(ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jMenuItem1ActionPerformed

    private void jMenuItem2ActionPerformed(ActionEvent evt) {//GEN-FIRST:event_jMenuItem2ActionPerformed
        // TODO add your handling code here:
        this.setLocale(Locale.ENGLISH);
        ResourceBundle.clearCache();

    }//GEN-LAST:event_jMenuItem2ActionPerformed

    private void botonNuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonNuevoActionPerformed
        // TODO add your handling code here:
        System.out.println(tablaModelo.getModel().getClass());
        switch (modelo) {
            case "clientes":
                FormClientes formClientes = new FormClientes(modeloClientes, this, true);
                formClientes.setVisible(true);
                break;
            case "empleados":
                FormTrabajador formTrabajador = new FormTrabajador(modeloTrabajadores, this, true);
                formTrabajador.setVisible(true);
                break;
            case "proveedores":
                FormProveedores formProveedor = new FormProveedores(modeloProveedores, this, true);
                formProveedor.setVisible(true);
                break;
            case "productos":
                FormProductos formProducto = new FormProductos(modeloProductos, this, true);
                formProducto.setVisible(true);
                break;
            case "ventas":
                FormVenta formVenta = new FormVenta(modeloPedidoClientes, this, true);
                formVenta.setVisible(true);
                break;
        }

    }//GEN-LAST:event_botonNuevoActionPerformed

    private void botonEditarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonEditarActionPerformed
        // TODO add your handling code here:
        if (tablaModelo.getSelectedRow() >= 0) {
            switch (modelo) {
                case "clientes":
                    FormClientes formClientes = new FormClientes(modeloClientes, this, true, tablaModelo.getSelectedRow());
                    formClientes.setVisible(true);
                    break;
                case "empleados":
                    FormTrabajador formTrabajador = new FormTrabajador(modeloTrabajadores, this, true, tablaModelo.getSelectedRow());
                    formTrabajador.setVisible(true);
                    break;
                case "proveedores":
                    FormProveedores formProveedor = new FormProveedores(modeloProveedores, this, true, tablaModelo.getSelectedRow());
                    formProveedor.setVisible(true);
                    break;
                case "productos":
                    FormProductos formProducto = new FormProductos(modeloProductos, this, true, tablaModelo.getSelectedRow());
                    formProducto.setVisible(true);
                    break;
                case "ventas":
                    FormVenta formVenta = new FormVenta(modeloPedidoClientes, this, true);
                    formVenta.setVisible(true);
                    break;
            }
        } else {
            JOptionPane.showMessageDialog(this, bundle.getString("error.SeleccioneCampo"), "Error", JOptionPane.OK_OPTION);

        }
    }//GEN-LAST:event_botonEditarActionPerformed

    private void botonBorrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonBorrarActionPerformed
        // TODO add your handling code here:
        try {
            int dialog;
            dialog = JOptionPane.showConfirmDialog(this, bundle.getString("confirmar.Borrar") + " " + tablaModelo.getValueAt(tablaModelo.getSelectedRow(), 1) + "?", "Error", JOptionPane.WARNING_MESSAGE, JOptionPane.YES_NO_OPTION);
            if (dialog == JOptionPane.YES_OPTION) {
                ((ModeloTabla) this.tablaModelo.getModel()).deleteRow(this.tablaModelo.getSelectedRow());
                ((ModeloTabla) this.tablaModelo.getModel()).fireTableDataChanged();
            }

        } catch (ArrayIndexOutOfBoundsException ex) {
            JOptionPane.showMessageDialog(this, bundle.getString("error.SeleccioneCampo"), "Error", JOptionPane.OK_OPTION);
        }
    }//GEN-LAST:event_botonBorrarActionPerformed

    private void botonEmpresaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonEmpresaActionPerformed
        // TODO add your handling code here:
        panelEmpresa.setVisible(true);
        panelListas.setVisible(false);
    }//GEN-LAST:event_botonEmpresaActionPerformed

    private void botonEmpleadosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonEmpleadosActionPerformed
        // TODO add your handling code here:
        panelEmpresa.setVisible(false);
        panelListas.setVisible(true);
        this.modeloTrabajadores = new ModeloTrabajadores();
        this.tablaModelo.setModel(modeloTrabajadores);
        this.botonDetalles.setEnabled(false);
        this.jLabel7.setText(bundle.getString("InterfazPrincipal.jLabel7.text_empleados"));
        this.modelo = "empleados";
    }//GEN-LAST:event_botonEmpleadosActionPerformed

    private void botonVentasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonVentasActionPerformed
        // TODO add your handling code here:
        panelEmpresa.setVisible(false);
        panelListas.setVisible(true);
        this.modeloPedidoClientes = new ModeloPedidosClientes();
        this.tablaModelo.setModel(modeloPedidoClientes);
        this.botonDetalles.setEnabled(true);
        this.jLabel7.setText(bundle.getString("InterfazPrincipal.jLabel7.text_ventas"));
        this.modelo = "ventas";
    }//GEN-LAST:event_botonVentasActionPerformed

    private void botonPedidosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonPedidosActionPerformed
        // TODO add your handling code here:
        // panelEmpresa.setVisible(false);
        //panelListas.setVisible(true);
        //this.jLabel7.setText(bundle.getString("InterfazPrincipal.jLabel7.text_pedidos"));
        //this.modelo = "pedidos";
        JOptionPane.showMessageDialog(this, "No implementado", "Error", JOptionPane.OK_OPTION);

    }//GEN-LAST:event_botonPedidosActionPerformed

    private void botonClientesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonClientesActionPerformed
        // TODO add your handling code here:  
        panelEmpresa.setVisible(false);
        panelListas.setVisible(true);
        this.modeloClientes = new ModeloClientes();
        this.tablaModelo.setModel(modeloClientes);
        this.botonDetalles.setEnabled(false);
        this.jLabel7.setText(bundle.getString("InterfazPrincipal.jLabel7.text_cliente"));
        this.modelo = "clientes";
    }//GEN-LAST:event_botonClientesActionPerformed

    private void botonProveedoresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonProveedoresActionPerformed
        // TODO add your handling code here:
        panelEmpresa.setVisible(false);
        panelListas.setVisible(true);
        this.modeloProveedores = new ModeloProveedores();
        this.tablaModelo.setModel(modeloProveedores);
        this.botonDetalles.setEnabled(false);
        this.jLabel7.setText(bundle.getString("InterfazPrincipal.jLabel7.text_proveedores"));
        this.modelo = "proveedores";
    }//GEN-LAST:event_botonProveedoresActionPerformed

    private void botonProductosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonProductosActionPerformed

        // TODO add your handling code here:
        panelEmpresa.setVisible(false);
        panelListas.setVisible(true);
        this.modeloProductos = new ModeloProductos();
        this.tablaModelo.setModel(modeloProductos);
        this.botonDetalles.setEnabled(false);
        this.jLabel7.setText(bundle.getString("InterfazPrincipal.jLabel7.text_productos"));
        this.modelo = "productos";
    }//GEN-LAST:event_botonProductosActionPerformed

    private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jRadioButton1ActionPerformed

    private void botonDetallesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonDetallesActionPerformed
        FormDetalles formDetalles = new FormDetalles(
                this.modeloPedidoClientes.getRow(this.tablaModelo.getSelectedRow()),
                this,
                true);
        formDetalles.setVisible(true);
    }//GEN-LAST:event_botonDetallesActionPerformed

    
    /**
     * @param args the command line arguments
     */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    javax.swing.JMenuBar barraMenu;
    javax.swing.JButton botonBorrar;
    javax.swing.JButton botonClientes;
    javax.swing.JButton botonDetalles;
    javax.swing.JButton botonEditar;
    javax.swing.JButton botonEmpleados;
    javax.swing.JButton botonEmpresa;
    javax.swing.JButton botonNuevo;
    javax.swing.JButton botonPedidos;
    javax.swing.JButton botonProductos;
    javax.swing.JButton botonProveedores;
    javax.swing.JButton botonVentas;
    javax.swing.ButtonGroup buttonGroup1;
    javax.swing.JButton jButton1;
    javax.swing.JButton jButton8;
    javax.swing.JButton jButton9;
    javax.swing.JLabel jLabel1;
    javax.swing.JLabel jLabel10;
    javax.swing.JLabel jLabel11;
    javax.swing.JLabel jLabel2;
    javax.swing.JLabel jLabel3;
    javax.swing.JLabel jLabel4;
    javax.swing.JLabel jLabel5;
    javax.swing.JLabel jLabel6;
    javax.swing.JLabel jLabel7;
    javax.swing.JLabel jLabel8;
    javax.swing.JLabel jLabel9;
    javax.swing.JMenuItem jMenuItem1;
    javax.swing.JMenuItem jMenuItem2;
    javax.swing.JPanel jPanel1;
    javax.swing.JPanel jPanel2;
    javax.swing.JPanel jPanel3;
    javax.swing.JPanel jPanel4;
    javax.swing.JPasswordField jPasswordField1;
    javax.swing.JRadioButton jRadioButton1;
    javax.swing.JRadioButton jRadioButton2;
    javax.swing.JRadioButton jRadioButton3;
    javax.swing.JScrollPane jScrollPane1;
    javax.swing.JTextArea jTextArea1;
    javax.swing.JTextField jTextField1;
    javax.swing.JTextField jTextField2;
    javax.swing.JTextField jTextField3;
    javax.swing.JTextField jTextField4;
    javax.swing.JTextField jTextField5;
    javax.swing.JMenu menuArchivo;
    javax.swing.JMenuItem menuCerrar;
    javax.swing.JMenu menuEditar;
    javax.swing.JMenu menuIdioma;
    javax.swing.JMenuItem menuSalir;
    javax.swing.JPanel panelEmpresa;
    javax.swing.JPanel panelListas;
    javax.swing.JScrollPane scrollPanelDer;
    javax.swing.JScrollPane scrollPanelIzq;
    javax.swing.JTable tablaModelo;
    // End of variables declaration//GEN-END:variables

}
